﻿using Storyteller.Framework.Math;

namespace Storyteller.Framework.Graphics.Particles.EmitModifiers
{
	public class VelocityEmitModifier : ParticleEmitModifier
	{
		public Vector2 Velocity { get; set; }

		public override void Process(Particle[] particles, int offset, int count)
		{
			for (int i = 0; i < count; i++)
			{
				particles[i + offset].Velocity = Velocity;
			}
		}
	}
}
